WP_Defender\Model\Lockout_Log A

Total Complexity 59
Dependencies 4
Dependents 11
Total lines 520
Lines of code 278
Logical lines of code 148
Comment lines 161
Methods 19
Properties 9

Methods 19

Method Rating Maintainability Complexity Lines of code
query_logs()
A
48 10 32
get_log_tag()
S
58 7 18
get_log_container_class()
S
59 7 16
get_log_tag_class()
S
59 7 16
count()
S
50 6 29
get_logs_and_format()
S
45 4 40
ban_status_where()
S
55 4 19
get_last_lockout_date()
S
56 3 19
count_lockout_in_30_days()
S
63 1 13
count_lockout_in_7_days()
S
63 1 13
count_lockout_in_24_hours()
S
63 1 13
remove_logs()
S
67 1 8
get_summary()
S
66 1 8
count_ua_lockout_last_7_days()
S
72 1 5
count_404_lockout_last_7_days()
S
72 1 5
count_login_lockout_last_7_days()
S
72 1 5
find_by_id()
S
71 1 6
delete()
S
68 1 8
truncate()
S
74 1 5